package org.opsli.api.wrapper.business.realTimeTrail;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.plugins.excel.annotation.ExcelInfo;

@Data
@EqualsAndHashCode(callSuper = false)
public class RealTimeTrailModel extends ApiWrapper {

    /** 负责人 */
    @ApiModelProperty(value = "负责人")
    @ExcelProperty(value = "负责人", order = 1)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String userName;

    /** 路线名称 */
    @ApiModelProperty(value = "路线名称")
    @ExcelProperty(value = "路线名称", order = 2)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String routeName;

    /** 开始时间 */
    @ApiModelProperty(value = "开始时间")
    @ExcelProperty(value = "开始时间", order = 3)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String creTime;

    /** 路径 */
    @ApiModelProperty(value = "路径")
    @ExcelProperty(value = "路径", order = 4)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String trail;

    /** 标记 */
    @ApiModelProperty(value = "标记")
    @ExcelProperty(value = "标记", order = 5)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String sign;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    @ExcelProperty(value = "用户ID", order = 6)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String userId;

    /** 状态 */
    @ApiModelProperty(value = "状态")
    @ExcelProperty(value = "状态", order = 7)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String state;
}
